﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace CoreLibrary.Paging {

    [DataContract]
    public class PagingResult<T> {

        [DataMember]
        public int Offset     { get; set; }

        [DataMember]
        public int Total { get; set; }

        [DataMember]
        public List<T> Data   { get; set; }

        public PagingResult() {
            Data = new List<T>();
        }

        
    }
}